import os

os.chdir(r"D:\PycharmProjects\national_computer_rank_examination\文件和数据维度")

os.rename("rename.txt",'rename_123.txt')